<template>
  <div class="header-comp">
    <p class="header-title">APP页面</p>
    <router-link to="/home">首页</router-link>
    | 
    <router-link to="/about">关于</router-link>
    | 
    <router-link to="/movie/1">电影1</router-link>
    | 
    <router-link to="/movie/2">电影2</router-link>
    | 
    <router-link to="/movie/3">电影3</router-link>
    |
    <router-link to="/user">无限列表</router-link>
    <hr >
    <keep-alive include="User">
        <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>
  import { Component, Prop, Vue } from 'vue-property-decorator';

  @Component()
  export default class App2 extends Vue{
  };
</script>

<style scoped lang="less">
 

</style>
